package com.cuit.zuke.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cuit.zuke.product.model.vo.StockVO;
import com.cuit.zuke.product.model.entity.Stock;
import com.cuit.zuke.product.model.vo.StockQueryVO;

import javax.servlet.http.HttpServletResponse;

public interface StockService extends IService<Stock> {

    Page<StockVO> findPage(Integer current, Integer limit, StockQueryVO stockQueryVO);

    boolean updateStock(Stock stock);

    boolean deleteById(Long id);

    boolean addStock(Stock stock);

    void exportStockData(HttpServletResponse response);
}
